package com.xiaoxu.intranetweb.mybatisplusSzappdb.Dic;

import org.springframework.stereotype.Component;

@Component
public class PdtAuthDic {
    //    区域类型
    public String getPdtAuthApprovedDic(Integer PdtAuthApproved){
        String dic = "";
        if (PdtAuthApproved == null ){
            return dic;
        }
        switch (PdtAuthApproved){
            case 0:
                dic = "未通过";
                break;
            case 1:
                dic = "通过";
                break;
        }
        return dic;
    }

    public String getPdtAuthApproved2Dic(Integer PdtAuthApproved2){
        String dic = "";
        if (PdtAuthApproved2 == null ){
            return dic;
        }
        switch (PdtAuthApproved2){
            case 0:
                dic = "未通过";
                break;
            case 1:
                dic = "通过";
                break;
        }
        return dic;
    }
    public String getPdtAuthLockDic(Integer PdtAuthLock){
        String dic = "";
        if (PdtAuthLock == null ){
            return dic;
        }
        switch (PdtAuthLock){
            case 0:
                dic = "未冻结";
                break;
            case 1:
                dic = "冻结";
                break;
        }
        return dic;
    }

}
